#include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
    void moveZeroes(vector<int>& nums) {
        int dest = -1;
        int cur = 0;
        while (cur < nums.size()) {
            if (nums[cur] == 0) {
            }
            else {
                dest++;
                int a = nums[cur];
                nums[cur] = nums[dest];
                nums[dest] = a;
            }
            cur++;
        }
    }
};
int main() {

	return 0;
}